PARQUET-583: Parquet to Thrift schema conversion#87
Conversation
| public: | ||
| virtual ~Visitor() {} | ||
|
|
||
| virtual void Visit(const Node* node) = 0; |
There was a problem hiding this comment.
I suppose this should be made Visit(Node* node) to differentiate with ConstVisitor?
|
This looks good to me outside of the minor comments. The way we're handling the not-always-set |
|
For the not-always-set |
|
If the struct is zeroed out, you can use the element.__isset for this |
|
Yes, we have that in Thrift. Probably I got it wrong in my last comment ;) What I'm missing is that we haven't got something similar to But to get this PR to a close: Should I only call |
|
Keeping things as is works for me right now, we can iterate on the optional field stuff later. |
|
+1, merging |
Depends on #86